package main

import "fmt"

func main() {
	map1 := map[string]string{
		"1": "111",
		"2": "222",
	}

	if str, ok := map1["3"]; true {
		fmt.Println(ok)
		fmt.Println(str)
	}

	if str, ok := map1["1"]; ok {
		fmt.Println(str)
	}

}
